using System;
using System.ComponentModel;
using SmartLink.Domain.Attribute;
using SmartLink.EnumLibrary;

namespace SmartLink.Domain.Entity
{
    /// <summary>
    /// 组织机构
    /// </summary>	
    [TableName("BIZ_Organization")]
    public class BIZ_Organization : BaseEntity
    {
        #region Model	

        /// <summary>
        /// 组织类型
        /// </summary>		
        [Description("OrganizationType")]
        public int OrganizationType { get; set; }

        /// <summary>
        /// 组织所属区域  存 districtID
        /// </summary>		
        [Description("OrganizationDistrict")]
        public int OrganizationDistrict { get; set; }

        /// <summary>
        /// 组织名称
        /// </summary>		
        [Description("Name")]
        public string OrganizationName { get; set; }

        /// <summary>
        /// 简称
        /// </summary>		
        [Description("简称")]
        public string OrganizationShorterName { get; set; }

        /// <summary>
        /// 公司备注
        /// </summary>
        [Description("公司备注")]
        public string OrganizationDesc { get; set; }

        /// <summary>
        /// 主体地址
        /// </summary>		
        [Description("主体地址")]
        public string OrganizationAddress { get; set; }

        /// <summary>
        /// 主体电话
        /// </summary>		
        [Description("主体电话")]
        public string OrganizationPhone { get; set; }

        /// <summary>
        /// 主体email
        /// </summary>		
        [Description("主体email")]
        public string OrganizationEmail { get; set; }

        /// <summary>
        /// 状态
        /// </summary>		
        [Description("状态")]
        public OrgStatusEnum OrganizationStatus { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        [Description("联系人")]
        public string Contact { get; set; }

        /// <summary>
        /// 手机
        /// </summary>
        [Description("手机")]
        public string ContactPhone { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>		
        [Description("创建人")]
        public int Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>		
        [Description("创建时间")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// IsDel
        /// </summary>		
        [Description("IsDel")]
        public bool IsDel { get; set; }

        /// <summary>
        /// 父ID
        /// </summary>
	    public int? ParentID { get; set; }

        /// <summary>
        /// 银行账户
        /// </summary>
	    public string BankAccount { get; set; }

        /// <summary>
        /// 银行账号
        /// </summary>
	    public string BankAccountNum { get; set; }

        /// <summary>
        /// 开户行
        /// </summary>
	    public string BankName { get; set; }

        /// <summary>
        /// 根组织ID
        /// </summary>
        public int ROID { get; set; }

        #endregion Model

    }
}